﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RRKAutohaus.Model
{
    public class Car
    {

        public int Id { get; set; }
        public string Name { get; set; }
        public string BrandName { get; set; }
        public string CarType { get; set; }
        public string Model { get; set; }
        public double Price { get; set; }
        public DateTime DatePosted { get; set; }
        public DateTime LastDateModified { get; set; }
        public bool IsFeatured { get; set; }
        public string Status { get; set; }

        //relationships
        public Specification Specification { get; set; }

        //connectors that represents the relationships
        //this properties are not reflected in the database
        public virtual ICollection<Image> Image { get; set; }
        public virtual ICollection<Video> Video { get; set; }



    }
}
